<form action='_BASEDOMAIN_/sendbug' method='post' enctype='multipart/form-data' onSubmit='return checkbeforesend(_AUTHORID_);' >
<input type='hidden' name='what' value='bug' />
<input type='hidden' name='bid' id='bid' value='_ID_' />
<input type='hidden' name='authorid' value='_AUTHORID_' />
<input type='hidden' name='commentid' id='commentid' value='_COMMENTID_' />
<input type='hidden' name='bugrate' value='2' /><!-- / comment this string if you want to set rate / -->

<div id='dvBugForm' >
   <div><input type='text' name='bugttl' id='iBugTtl' value='_TITLE_' title='Название заметки. Минимум - 5 символов.' placeholder='Название заметки' onKeyDown='checkform()' onKeyUp='checkform()' /></div>
<!-- <div>
<input type='text' name='bugdate' id='iBugDate' value='_DATE_' disabled='disabled' /></td>
<input type='hidden' name='bugrate' id='iBugRate' value='2' />&nbsp;
<select name='bugrate' id='iBugRate' title='Рейтинг' >
   <option value='1' _SL-RATE1_ >Не важно</option>
   <option value='2' _SL-RATE2_ >Важно</option>
   <option value='3' _SL-RATE3_ >Срочно</option>
</select>
</div> -->
   <div id='dvBFUserName' >
      <input type='text' name='iUserName' id='iUserName' placeholder='Ваше имя' value='_AUTHORNAME_' />
   </div>
   <div>
      <div id='dvBFPlace' >
         <select name='bugplace' id='iBugPlace' title='Место' onChange='checkform()' >
            _PLACEOPTS_
         </select>
      </div>
      <div id='dvBFType' >
         <select name='bugtype' id='iBugType' title='Тип' onChange='checkform()' >
            _TYPEOPTS_
         </select>
      </div>
   </div>
   <div>
      <textarea name='bugcmt' id='iBugCmt' title='Подробное описание. Минимум - 10 символов.' placeholder='Описание' onKeyDown='checkform()' onKeyUp='checkform()' >_COMMENT_</textarea>
   </div>
   <div id='dvBFMeta' >
      <div id='dvBFStatus' >
         <select name='bugstatus' id='iBugStatus' title='Статус' onChange='checkform()' >
            _STATUSOPTS_
         </select>
      </div>
      <div id='dvBFLevel' >
         <select name='buglevel' id='iBugLevel' title='Уровень доступа' onChange='checkform()' >
            _LEVELOPTS_
         </select>
      </div>
      <div id='dvBFTags' >
         <input type='text' name='bugtags' id='iBugTags' title='Ключевые слова. Разделяйте запятыми.' placeholder='Ключевые слова' value='_TAGS_' />
      </div>
   </div>
   _ATTACHMENTS_
   <div id='dvBFButtons' >
      <input type='button' id='iBugCancel' value='&larr; Назад  ' onclick='gotobug(_ID_);' /> <input type='submit' id='iBugSubmit' value=' Сохранить ' class='btnDisabled' disabled='disabled' />
   </div>
</form>
<script>
   checkauthorname(_AUTHORID_, 'iUserName');
   tinymceInit('textarea');
   if( $('#commentid').val() > 0 ) checkform();
</script>
